package com.weiyuwqj.controller.wangdai;

//import com.weiyuwqj.api.service.WangDaiDataService;
import com.weiyuwqj.api.util.JsonUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Map;

/**
 * Created by Administrator on 2017/2/24.
 */
@Controller
public class WangDaiDataController {
/*


    @Autowired
    private WangDaiDataService wangDaiDataService;

    @ResponseBody
    @RequestMapping(value = "admin/item/query/todayItem" ,produces = "application/json;charset=utf-8")
    public Object queryTodayBidData(Integer page,Integer pageSize,String token,String date)throws ParseException{
        Map map =wangDaiDataService.queryTodayBidData(page,pageSize,token,new SimpleDateFormat("yyyy-MM-dd").parse(date));
        return JsonUtils.toJson(map);
    }
*/

}
